<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta charset="utf-8">
<title>list order</title>
<link rel="stylesheet" type="text/css" href="css/index.css">
<script src="js/Map.js" type="text/javaScript"></script>
    <script src="js/index.js" type="text/javaScript"></script>
</head>
<body>
<div class="body-container">
    <div class="header">
    <p style="display:none" id="cId">${cId}</p>
        <div class="nav">
           <h2>有家美食店</h2>
            <ul>
                <c:if  test="${session.getParameter("name") != null}">               
                <li><a href="LogoutServlet">logout</a></li>
                <li><a href="historyOrder.jsp">Order</a></li>
                <li><a href="javaScript(0);">${name}</a></li>
                </c:if>
                <c:if test="${session.getParameter("name") == null}">                               
                <li><a href="register.jsp">Register</a></li>
                <li><a href="login.jsp">Login</a></li>
                </c:if>               
            </ul>
        </div>
    </div>
    <div class="container">
    <div class="order">
    <h2>My Order</h2>
    <hr size="2">
    <table class="order-table" id="order_table">
        <tr>
            <th>#</th>
            <th>picture</th>
            <th>name</th>
            <th>price</th>
            <th>number</th>
            <th>sum</th>
        </tr>
        
    </table>
    <p id="orderSum">SumPrice:￥</p>
    </div>
    </div>
    </div>
    <div class="footer">footer</div>
</body>
</html>